<?php
/**
 * Author   : 葫芦瓢子 <gourdladle@163.com>
 * Date     : 2023-06-29
 * Wechat   : skymouses
 * License  : MIT
 */

namespace GourdLadle\PhinxTp;

use think\console\Input;
use think\console\Output;

class Status extends Phinx
{
    protected function configure()
    {
        $this->setName('phinx:status')
             ->setDescription('查看状态')
             ->addEnvironmentOption();
    }

    protected function execute(Input $input,Output $output)
    {
        $commandName = 'status';
        $arg = ['command'=>$commandName];
        $this->phinxTargetOption($arg, $input);
        $this->runPhinx($commandName, $arg, $input);
    }
}
